package com.bos.data.repositories.jpa;

import com.bos.data.model.BosProjectModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface BosProjectJPARepository extends JpaRepository<BosProjectModel, Integer>, JpaSpecificationExecutor<BosProjectModel> {
    @Query("select a from BosProjectModel a where a.wName=?1")
    BosProjectModel findByWname(String name);
}
